<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%-- 设置meta
////////////////////////////////////////////////////////////////////////////////////////////// --%>
<%@ include file="/WEB-INF/template/include/meta.jsp"%>
	<title>三方28数据管理</title>
	
<%-- 导入样式
////////////////////////////////////////////////////////////////////////////////////////////// --%>
<%@ include file="/WEB-INF/template/include/link.jsp"%>
	<link rel="stylesheet" href="${res }/default/css/content.css" /> 
	
<%-- 导入脚本
////////////////////////////////////////////////////////////////////////////////////////////// --%>
<%@ include file="/WEB-INF/template/include/script.jsp"%>

<%-- 页眉
////////////////////////////////////////////////////////////////////////////////////////////// --%>
<c:set var="mode" value="original" />
<%@ include file="/WEB-INF/template/include/header.jsp"%>
	<div style="width:400px;margin:auto;padding:0px;">
		<p class="text-center xl-copyright">Whisper Studio Make Life Better.</p>
		<div class=" well" >
			<h2 class="xl-module-title">平衡次数</h2>
			<pre>公式 179 - x = x * 3 得 x = 45</pre>
			
			<h2 class="xl-module-title">单小</h2>
			<c:set var="oddSmall" value="${stcParityBigness.oddSmall*3 - stcParityBigness.evenLarge - stcParityBigness.oddLarge - stcParityBigness.evenSmall }" />
			<pre style='background:${oddSmall>=0?"#F5EDD3":"#E8FCE8"};color:${oddSmall>=0?"red":"green"};'>${stcParityBigness.oddSmall} * 3 - ${stcParityBigness.evenLarge} - ${stcParityBigness.oddLarge} - ${stcParityBigness.evenSmall } = ${oddSmall }</pre>
			
			<h2 class="xl-module-title">双大</h2>
			<c:set var="evenLarge" value="${stcParityBigness.evenLarge*3 - stcParityBigness.oddSmall - stcParityBigness.oddLarge - stcParityBigness.evenSmall  }" />
			<pre style='background:${evenLarge>=0?"#F5EDD3":"#E8FCE8"};color:${evenLarge>=0?"red":"green"};'>${stcParityBigness.evenLarge} * 3 - ${stcParityBigness.oddSmall} - ${stcParityBigness.oddLarge} - ${stcParityBigness.evenSmall } = ${evenLarge }</pre>
			
			<h2 class="xl-module-title">单大</h2>
			<c:set var="oddLarge" value="${stcParityBigness.oddLarge*3 - stcParityBigness.oddSmall - stcParityBigness.evenLarge - stcParityBigness.evenSmall }" />
			<pre style='background:${oddLarge>=0?"#F5EDD3":"#E8FCE8"};color:${oddLarge>=0?"red":"green"};'>${stcParityBigness.oddLarge} * 3 - ${stcParityBigness.oddSmall} - ${stcParityBigness.evenLarge} - ${stcParityBigness.evenSmall } = ${oddLarge }</pre>
			
			<h2 class="xl-module-title">双小</h2>
			<c:set var="evenSmall" value="${stcParityBigness.evenSmall*3 - stcParityBigness.oddSmall - stcParityBigness.evenLarge - stcParityBigness.oddLarge }" />
			<pre style='background:${evenSmall>=0?"#F5EDD3":"#E8FCE8"};color:${evenSmall>=0?"red":"green"};'>${stcParityBigness.evenSmall} * 3 - ${stcParityBigness.oddSmall} - ${stcParityBigness.evenLarge} - ${stcParityBigness.oddLarge } = ${evenSmall }</pre>
		</div>
		<p class="text-center xl-copyright">2014 &copy; Whisper Development Team.</p>
	</div>
<c:set var="mode" value="original" />
<%@ include file="/WEB-INF/template/include/footer.jsp"%>
